﻿<script type="text/javascript" src="@Url.Content("~/Content/cssAdmin/js/plugins/jquery-1.7.min.js")" ></script>

<script type="text/javascript">

    $(document).ready(function () {

        if (window.location.href.indexOf("ProfileAdmin") > -1) {
            $("#idProfileAdmin").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminPromotionHotel") > -1) {
            $("#idAdminPromotionHotel").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminPromotion") > -1) {
            $("#idAdminPromotion").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminUserManager") > -1) {
            $("#idAdminUserManager").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminTestimonial") > -1) {
            $("#idAdminTestimonial").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminTravelInformation") > -1) {
            $("#idAdminTravelInformation").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminTravelProduct") > -1) {
            $("#idAdminTravelProduct").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminInformationDestination") > -1) {

            $("#AdminInformationDestination").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminDestinationCountry") > -1) {

            $("#AdminDestinationCountry").addClass('current');
            return;
        }


        if (window.location.href.indexOf("AdminDestinationStyle") > -1) {

            $("#AdminDestinationStyle").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminDestination") > -1) {

            $("#AdminDestination").addClass('current');
            return;
        }
        if (window.location.href.indexOf("AdminImageDestination") > -1) {

            $("#AdminImageDestination").addClass('current');
            return;
        }
        if (window.location.href.indexOf("AdminStyle") > -1) {

            $("#AdminStyle").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminAboutUs") > -1) {

            $("#AdminAboutUs").addClass('current');
            return;
        }


        if (window.location.href.indexOf("AdminNewEvent") > -1) {

            $("#AdminNewEvent").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminFooter") > -1) {

            $("#AdminFooter").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminSEO") > -1) {

            $("#idAdminSEO").addClass('current');
            return;
        }
        if (window.location.href.indexOf("AdminSocialNetWork") > -1) {

            $("#idAdminSocialNetWork").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminBanner") > -1) {

            $("#AdminBanner").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminOurClient") > -1) {

            $("#AdminOurClient").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminChatOnline") > -1) {

            $("#AdminChatOnline").addClass('current');
        return;
        }


        if (window.location.href.indexOf("AdminBrouchure") > -1) {

            $("#AdminBrouchure").addClass('current');
            return;
        }

        if (window.location.href.indexOf("AdminDestinationInfo") > -1) {

            $("#AdminDestinationInfo").addClass('current');
            return;
        }
      
        return;

    });
</script>
<div class="mainleftinner">
    <div class="leftmenu">
        <ul>
            <li id="idProfileAdmin"><a href="@Url.Action("Index", "ProfileAdmin")"  class="grid"><span>Thông tin tài khoản</span></a></li>
            @{
                            VietPremier.EntityAdmin user = (VietPremier.EntityAdmin)Session["User"];
                            if(user.Type == "Admin")
                            {
                                <li id="idAdminUserManager"><a href="@Url.Action("Index", "AdminUserManager")"  class="grid"><span>Quản lý người dùng</span></a></li>
                            }
            }
            <li id="idAdminTestimonial"><a href="@Url.Action("Index", "AdminTestimonial")"  class="grid"><span>Quản lý ý kiến KH</span></a></li>
            <li id="AdminNewEvent"><a href="@Url.Action("Index", "AdminNewEvent")" class="grid"><span>Quản lý tin tức & sự kiện</span></a></li>
            <li id="AdminBackground"><a href="@Url.Action("Edit", "AdminBackground")" class="grid"><span>Quản lý Background</span></a></li>
            <li id="AdminFooter"><a href="@Url.Action("Edit", "AdminFooter")" class="grid"><span>Quản lý Footer</span></a></li>
            <li id="idAdminSEO"><a href="@Url.Action("Index", "AdminSEO")" class="grid"><span>Quản lý SEO các page khác</span></a></li>
            <li id="idAdminSocialNetWork"><a href="@Url.Action("Index", "AdminSocialNetWork")" class="grid"><span>Quản lý mạng xã hội</span></a></li>

            <li id="AdminBanner"><a href="@Url.Action("Index", "AdminBanner")" class="grid"><span>Quản lý banner</span></a></li>
            <li id="AdminBrouchure"><a href="@Url.Action("Index", "AdminBrouchure")" class="grid"><span>Quản lý brochure</span></a></li>
            <li id="AdminOurClient"><a href="@Url.Action("Index", "AdminOurClient")" class="grid"><span>Quản lý KH thân thiết</span></a></li>

            <li id="idAdminFeedBack"><a href="@Url.Action("Index", "AdminFeedBack")" class="grid"><span>Quản lý phản hồi</span></a></li>
            <li id="AdminChatOnline"><a href="@Url.Action("Index", "AdminChatOnline")" class="grid"><span>Quản lý hỗ trợ trực tuyến</span></a></li>
            <li id="idAdminStyle"><a href="@Url.Action("Index", "AdminStyle")"  class="grid"><span>Quản lý phong cách du lịch</span></a></li>           
            <li id="AdminDestinationInfo"><a href="@Url.Action("Index", "AdminDestinationInfo")" class="grid"><span>Quản lý thông tin du lịch</span></a></li>
            <li><a href="#" class="editor menudrop active"><span>Quản lý thông tin giới thiệu</span></a>
                <ul style="display: block;">
                    <li id="AdminAboutUs"><a href="@Url.Action("Index", "AdminAboutUs")" class="grid"><span>Giới thiệu</span></a></li>
                </ul>
            </li>
            <li><a href="#" class="editor menudrop active"><span>Quản lý khuyến mãi</span></a>
                <ul style="display: block;">
                    <li id="idAdminPromotion"><a href="@Url.Action("Index", "AdminPromotion")"  class="grid"><span>Khuyến mãi vàng</span></a></li>
                </ul>
            </li>          
            <li><a href="#" class="editor menudrop active"><span>Quản lý sản phẩm du lịch</span></a>
                <ul style="display: block;">
                    <li id="idAdminTravelInformation"><a href="@Url.Action("Edit", "AdminTravelInformation")" class="tables"><span>Giới thiệu</span></a></li>
                    <li id="idAdminTravelProduct"><a href="@Url.Action("Index", "AdminTravelProduct")" class="tables"><span>Sản phẩm</span></a></li>
                </ul>
            </li>
            
        </ul>

    </div>
    <!--leftmenu-->
    <div id="togglemenuleft"><a></a></div>
</div>
<!--mainleftinner-->
